Squelch warnings
authorGabriel Souza Franco <gabrielfrancosouza@gmail.com>
Fri, 30 Jan 2015 21:22:02 +0000 (19:22 -0200)
committerGabriel Souza Franco <gabrielfrancosouza@gmail.com>
Fri, 30 Jan 2015 21:22:02 +0000 (19:22 -0200)
src/bin/cargo.rs
src/cargo/lib.rs
src/registry/lib.rs
tests/resolve.rs
tests/test_cargo_bench.rs
tests/test_cargo_compile_custom_build.rs
tests/tests.rs

index 83dfaecd2014d27c24e9696922c3675f37029aa9..60b0b9b47623fae6475b879a660b7896dfe73050 100644 (file)
@@ -1,4 +1,4 @@
-#![allow(unstable)]
+#![feature(collections, core, io, os, path)]
 
 extern crate "rustc-serialize" as rustc_serialize;
 extern crate cargo;
index 895200b06c18f852659efb3ea112c3038bcb1e18..c8a20b609935f2d96fc32b909a9b11041a34a1e2 100644 (file)
@@ -1,5 +1,5 @@
 #![deny(unused)]
-#![allow(unstable)]
+#![feature(collections, core, hash, io, libc, os, path, std_misc, unicode)]
 #![cfg_attr(test, deny(warnings))]
 
 extern crate libc;
index bcd73b52081e670d7813382a17a84743a4e119cf..5ea5c0cee1a5c6c512c4394eeaa66612a8e6c30b 100644 (file)
@@ -1,4 +1,4 @@
-#![allow(unstable)]
+#![feature(core, io)]
 
 extern crate curl;
 extern crate "rustc-serialize" as rustc_serialize;
index 3198adcecab645f8091a040f13ef58b4569f2f28..a5e1c85f5a8b8080bd8e662090f8bd53b93eb687 100644 (file)
@@ -1,4 +1,4 @@
-#![allow(unstable)]
+#![feature(collections)]
 
 extern crate hamcrest;
 extern crate cargo;
index 68109b5a7ba23d72d9cf56f215e3de45fbe3764c..9d472b7f7440a31bfa3029d8f60bed456a6f51a2 100644 (file)
@@ -151,7 +151,7 @@ test!(cargo_bench_failing_test {
     let p = project("foo")
         .file("Cargo.toml", basic_bin_manifest("foo").as_slice())
         .file("src/foo.rs", r#"
-            #![allow(unstable)]
+            #![feature(test)]
             extern crate test;
             fn hello() -> &'static str {
                 "hello"
index 0b72cde37f5813899a28cc775d52fd2866ff2a33..bf80eebaf5abba4f591f7642cf506159c1cb00db 100644 (file)
@@ -23,7 +23,7 @@ test!(custom_build_script_failed {
             fn main() {}
         "#)
         .file("build.rs", r#"
-            #![allow(unstable)]
+            #![feature(os)]
             fn main() {
                 std::os::set_exit_status(101);
             }
index 6d457fcfecdb7106d02573ae31bb0aa005352329..c2a4f6780cbdc91b976a33bb2a037069ede2a151 100644 (file)
@@ -1,4 +1,5 @@
 #![deny(warnings)]
+#![feature(collections, core, io, os, path, rustc_private, std_misc)]
 
 extern crate cargo;
 extern crate flate2;